//
//  DateFormatter.m
//  ECBBusinessCamp
//
//  Created by rimi on 16/6/18.
//  Copyright © 2016年 邓毕华. All rights reserved.
//

#import "DateFormatter.h"

@implementation DateFormatter

+ (NSString *)getDateSince1970BySeconds:(NSInteger)seconds {
    NSDateFormatter * dateFormatter = [[NSDateFormatter alloc] init];
    dateFormatter.dateFormat = @"yyyy年MM月dd日 HH:mm:ss";
    return [dateFormatter stringFromDate:[NSDate dateWithTimeIntervalSince1970:seconds / 1000]];
}

@end
